package com.xl98.service;

import com.xl98.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xl98.entity.Role;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2020-05-15
 */
public interface PermissionService extends IService<Permission> {
    public List<Permission> selectPermByRole(List<Role> roles);
    public List<Permission> selectAllPerm();
    public int addPerm(Permission permission);
    public List<Permission> selectPermByRoleId(String roleId);
}
